<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="/WEB-INF/tlds/spring.tld"%>
<%@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld"%>
<c:set var="BasePath" value="${pageContext.request.contextPath}"></c:set>
<c:set var="Plugins" value="${pageContext.request.contextPath}/res/plugins"></c:set>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>物流管理</title>
<link href="${Plugins}/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
<script src="${Plugins}/jquery/jquery-1.3.2.min.js"	type="text/javascript"></script>
<link href="${Plugins}/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css" />
<script src="${Plugins}/ligerUI/js/ligerui.min.js" type="text/javascript"></script>
<script type="text/javascript" src="${BasePath}/res/js/ligerCommon.js"></script>
<style type="text/css">
#searchbar{
   margin-bottom: 10px;
   margin-left:15px;
  }
  .navbar {
		height: 20px;
		border-bottom: #E6E6E6 solid 1px;
		line-height: 20px;
	}
.l-button-search {
	width: 50px;
	margin-left: 10px;
	padding-bottom: 2px;
	display: inline;
}
</style>
</head>

<body style="padding:6px; overflow:hidden;">
<div class="navbar">
		<span>您当前的位置：</span>
		基础数据管理 &gt; 物流商管理
</div>
<form action = "${BasePath}/base/logisticsManageController/toPageFinderLogisticInfo.do" method="post" >
<div id="searchbar">
 物流公司名称：<input id="logisticsName" name="logisticsName" type="text" value="${LogisticsInfo.logisticsName}" />
           <input id="btnOK" type="submit" value="查询" class="l-button-search" />
           <input type="button" id="resetBtn" value="重置" class="l-button-search" />
        
</div>
</form>

<div id="maingrid4" style="margin:0; padding:0"></div>
  <div style="display:none;">
  <!-- g data total ttt -->
</div>

<script>
    var basePath='${BasePath}';
    var grid = null;
    $(function () {
    	 // 重置
        $("#resetBtn").click(function(){
    		$('#searchbar :input').not(':submit, :button, :reset').val('').removeAttr('checked').removeAttr('selected');
    	});
    	
        grid = $("#maingrid4").ligerGrid({
            columns: [
            { display: '物流公司名称', name: 'logisticsName',width:"12%",align:"left"},
            { display: '物流编码', name: 'logisticsId',width:"8%"}
            ], 
            pageSize:30,
            width: '100%',
            height: '100%',
            dataType: 'server', 
            dataAction: 'server',
            pagesizeParmName: 'pageSize',
            parms: [
					{name: "logisticsName", value:$("#logisticsName").val()}
                    ],
			url: "/hna_erp/base/logisticsManageController/ajaxPageFinderLogisticInfo.do"
        });
    });
    function closeDialog(){
        dialog.close();
    }
    function getRowDate(){
    	return grid.getSelected();
    }

 </script>
</body>
</html>